
	/* Conversion rotines between the RGB color space and the 
	  HSV color space */

#include <math.h>

#ifndef _COLOR_H_
#define _COLOR_H_

	// convert hsv values to rgb
int hsv2rgb (float h, float s, float v,
			 float* red, float* green, float* blue);

	// convert rgb values to hsv
int rgb2hsv (float r, float g, float b, 
			 float *h, float *s, float *v);

#endif